package org.bigtree.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.bigtree.example.common.webapi.PageResult;
import org.bigtree.example.entity.Employ;
import org.bigtree.example.model.form.EmployForm;
import org.bigtree.example.model.form.EmploySearchForm;
import org.bigtree.example.model.vo.EmployVo;

/**
 * @author bigTree
 * @since 2025/4/26
 */
public interface IEmployService extends IService<Employ> {

    EmployVo create(EmployForm form);

    void remove(Long id);

    EmployVo edit(Long id, EmployForm form);

    EmployVo detail(Long id);

    PageResult<EmployVo> all(EmploySearchForm form);
}
